package com.cropdoctor.model.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("pre_publish_course")
@ApiModel(value = "PrePublishCoursePo",description = "预发布课程相关Po")
public class PrePublishCoursePo {
  @TableId
  private Long id;
  @ApiModelProperty(value = "发布状态",example = "已发布")
  private String publishStatus;
  @ApiModelProperty(value = "审核状态",example = "101")
  private String auditStatus;
  @ApiModelProperty(value = "审核意见",example = "可以发布")
  private String auditMind;
  @ApiModelProperty(value = "上传人id",example = "1")
  private long uploaderId;
  @ApiModelProperty(value = "标题",example = "西瓜的种植技巧")
  private String title;
  @ApiModelProperty(value = "描述",example = "今天这期视频来教大家种植西瓜")
  private String description;
  @ApiModelProperty(value = "文件md5值")
  private String url;
  private String mt;
  private String st;
  @TableField(fill = FieldFill.INSERT)
  @ApiModelProperty(value = "创建日期",example = "2024-02-04")
  private LocalDate createDate;
  @TableField(fill = FieldFill.INSERT_UPDATE)
  @ApiModelProperty(value = "更新日期",example = "2024-02-04")
  private LocalDate updateDate;
}
